gtkstack: remove needless queue_resize
authorMatt Watson <mattdangerw@gmail.com>
Thu, 10 Dec 2015 23:50:25 +0000 (15:50 -0800)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 11 Dec 2015 00:51:29 +0000 (16:51 -0800)
In gtk_stack_set_transition_position we should only need to
queue_resize if we are non-homogeneous, which is already done
earlier in the function.

gtk/gtkstack.c

index 09ee6560910963fd918b1255889783ed1909467c..c832179b4942f1974f2237fcaba88709a2f79336 100644 (file)
@@ -906,8 +906,6 @@ gtk_stack_set_transition_position (GtkStack *stack,
           gtk_widget_set_child_visible (priv->last_visible_child->widget, FALSE);
           priv->last_visible_child = NULL;
         }
-
-      gtk_widget_queue_resize (GTK_WIDGET (stack));
     }
 
   return done;